#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:装饰器.py
# author: 马国鑫
# datetime:2022/3/18 20:34
# software: PyCharm

"""
this is function  description 
"""

# import module your need

def func_outer(func):
    def func_inner():
        print('验证')
        func()

    return func_inner


@func_outer  # 本质是: login = func_outer(login)
def login():
    print('登录')


login()
